package com.pangyangyang.elasticsearch.plugin.river;

import org.elasticsearch.common.inject.Binder;
import org.elasticsearch.common.inject.Module;
import org.elasticsearch.river.River;

/**
 * Created by yangwang on 2015/1/14.
 */
public class MessageRiverModule implements Module {

    @Override
    public void configure(Binder binder) {
        binder.bind(River.class).to(MessageRiver.class).asEagerSingleton();
    }
}
